package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/31
 * 历史：
 */
public class regionbean {

    /**
     * code : 0
     * data : {"page":1,"pageSize":5,"records":55,"rowBegin":1,"rowEnd":5,"rows":[{"region_code":"32040202","parent_code":"320402","name":"青龙街道","abbr":"青龙"},{"region_code":"3204110601008","parent_code":"3204110601","name":"前六组","abbr":"前六组"}],"total":11}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * page : 1
         * pageSize : 5
         * records : 55
         * rowBegin : 1
         * rowEnd : 5
         * rows : [{"region_code":"32040202","parent_code":"320402","name":"青龙街道","abbr":"青龙"},{"region_code":"3204110601008","parent_code":"3204110601","name":"前六组","abbr":"前六组"}]
         * total : 11
         */

        private int page;
        private int pageSize;
        private int records;
        private int rowBegin;
        private int rowEnd;
        private int total;
        private String region_name;
        private String region_code;
        private List<RowsBean> rows;

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public String getRegion_code() {
            return region_code;
        }

        public void setRegion_code(String region_code) {
            this.region_code = region_code;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecords() {
            return records;
        }

        public void setRecords(int records) {
            this.records = records;
        }

        public int getRowBegin() {
            return rowBegin;
        }

        public void setRowBegin(int rowBegin) {
            this.rowBegin = rowBegin;
        }

        public int getRowEnd() {
            return rowEnd;
        }

        public void setRowEnd(int rowEnd) {
            this.rowEnd = rowEnd;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * region_code : 32040202
             * parent_code : 320402
             * name : 青龙街道
             * abbr : 青龙
             */

            private String region_code;
            private String parent_code;
            private String name;
            private String abbr;

            public String getRegion_code() {
                return region_code;
            }

            public void setRegion_code(String region_code) {
                this.region_code = region_code;
            }

            public String getParent_code() {
                return parent_code;
            }

            public void setParent_code(String parent_code) {
                this.parent_code = parent_code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAbbr() {
                return abbr;
            }

            public void setAbbr(String abbr) {
                this.abbr = abbr;
            }
        }
    }
}
